/*
 * @Author: Mcc
 * @Date: 2024-07-29 10:17:14
 * @LastEditors: mcc 550539422@qq.com
 * @LastEditTime: 2024-08-14 16:30:11
 * @FilePath: \ft-apply-admin\src\api\applay\applicationList\self.ts
 * @Description:
 *
 * Copyright (c) 2024 by Mcc, All Rights Reserved.
 */
//import type { GetUserInfoModel } from './model/userModel'
import { defHttp } from '@/utils/http/axios'
import {get, post} from "@/api/application-details/http";
import {requestType} from "@/views/applicationDetails/application-type";

//import type { ErrorMessageMode } from '@/types/axios'

enum Api {
  statisticsHeadList = '/statistics/head/list',// 渠道HR数据
  statisticsPreserveList = '/statistics/preserve/list',// 维护HR数据
  statisticsInterviewerList = '/statistics/interviewer/list',// 面试官数据
  statisticsTrainerList = '/statistics/trainer/list',// 培训官数据
  statisticsExaminerList = '/statistics/examiner/list',// 考核官数据
  recruitProcessMonthReport = '/recruitProcess/monthReport',//查看高校月报数据
  recruitProcessWeekReport = '/recruitProcess/weekReport',//查看高校周报数据
  statisticsTimeList = '/statistics/time/list',//周月时间列表
  yearList = '/statistics/year/list'//年份时间列表
}

// 渠道HR数据
export function statisticsHeadList(data) {
  return defHttp.post({ url: Api.statisticsHeadList, data })
}
// 维护HR数据
export function statisticsPreserveList(data) {
  return defHttp.post({ url: Api.statisticsPreserveList, data })
}
// 面试官数据
export function statisticsInterviewerList(data) {
  return defHttp.post({ url: Api.statisticsInterviewerList, data })
}
// 培训官数据
export function statisticsTrainerList(data) {
  return defHttp.post({ url: Api.statisticsTrainerList, data })
}
// 考核官数据
export function statisticsExaminerList(data) {
  return defHttp.post({ url: Api.statisticsExaminerList, data })
}
// 查看高校月报数据
export function recruitProcessMonthReport(params) {
  return defHttp.get({ url: Api.recruitProcessMonthReport, params })
}
// 查看高校周报数据
export function recruitProcessWeekReport(params) {
  return defHttp.get({ url: Api.recruitProcessWeekReport, params })
}
// 周月时间列表
export function statisticsTimeList(params) {
  return defHttp.get({ url: Api.statisticsTimeList, params })
}
// 年份时间列表
export function yearList() {
  return defHttp.post({ url: Api.yearList })
}

export default {
}
